package com.txy.webmanagement.utils;

import java.util.UUID;

/**
 * String字符验证类
 */
public class StringUtils {
    /**
     * 判断字符串
     *
     * @param str
     * @return
     */
    public static Boolean checkStringNotNull(String str) {
        Boolean boo = false;
        if (str != null && str.trim().length() > 0) {
            boo = true;
        }
        return boo;
    }

    /**
     * 获取UUid
     *
     * @return
     */
    public static String getUUID() {
        String uuid = UUID.randomUUID().toString().replaceAll("-", "");
        return uuid;
    }
}
